package com.woniuxy.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 笼子（库存）对象 algs_cage
 *
 * @author ruoyi
 * @date 2023-03-20
 */
public class AlgsCage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 笼子编号ID */
    private Long cageId;

    /** 笼子大小（外键） */
    @Excel(name = "笼子大小", readConverterExp = "外=键")
    private Long cageSizeId;

    /** 数量 */
    @Excel(name = "数量")
    private Long cageNum;

    /** 更新日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cageDate;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String cageDesc;

    /** 备用列 */
    @Excel(name = "备用列")
    private String cageBy1;

    /** 备用列 */
    @Excel(name = "备用列")
    private String cageBy2;

    /** 备用列 */
    @Excel(name = "备用列")
    private String cageBy3;

    /** 笼子编号ID */
    @Excel(name = "笼子编号ID")
    private Long cageTypeId;

    public void setCageId(Long cageId)
    {
        this.cageId = cageId;
    }

    public Long getCageId()
    {
        return cageId;
    }
    public void setCageSizeId(Long cageSizeId)
    {
        this.cageSizeId = cageSizeId;
    }

    public Long getCageSizeId()
    {
        return cageSizeId;
    }
    public void setCageNum(Long cageNum)
    {
        this.cageNum = cageNum;
    }

    public Long getCageNum()
    {
        return cageNum;
    }
    public void setCageDate(Date cageDate)
    {
        this.cageDate = cageDate;
    }

    public Date getCageDate()
    {
        return cageDate;
    }
    public void setCageDesc(String cageDesc)
    {
        this.cageDesc = cageDesc;
    }

    public String getCageDesc()
    {
        return cageDesc;
    }
    public void setCageBy1(String  cageBy1)
    {
        this.cageBy1 = cageBy1;
    }

    public String  getCageBy1()
    {
        return cageBy1;
    }
    public void setCageBy2(String cageBy2)
    {
        this.cageBy2 = cageBy2;
    }

    public String getCageBy2()
    {
        return cageBy2;
    }
    public void setCageBy3(String cageBy3)
    {
        this.cageBy3 = cageBy3;
    }

    public String getCageBy3()
    {
        return cageBy3;
    }
    public void setCageTypeId(Long cageTypeId)
    {
        this.cageTypeId = cageTypeId;
    }

    public Long getCageTypeId()
    {
        return cageTypeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("cageId", getCageId())
                .append("cageSizeId", getCageSizeId())
                .append("cageNum", getCageNum())
                .append("cageDate", getCageDate())
                .append("cageDesc", getCageDesc())
                .append("cageBy1", getCageBy1())
                .append("cageBy2", getCageBy2())
                .append("cageBy3", getCageBy3())
                .append("cageTypeId", getCageTypeId())
                .toString();
    }
}
